<template>
  <footer id="footer">
  <div class="footerWrapper">
    <div class="footerApp">
      <p class="footerTtl">下载应用程序</p>
      <div class="logoMetro">
        <img src="../../../public/img/footer/icon_footer_metro.png" 
          width="68" height="68" alt>
      </div>
      <p>“南昌地铁游客乘车指南”由南昌市政府提供，是可以离线检索南昌地铁换乘方法的
        免费官方应用程序。<br>本应用程序可以使用英文、中文（简体字、繁体字）、韩文、
        泰语 以及日文，适合到南昌观光的游客使用。</p>
      <div class="wrapper">
        <div class="app">
          <a href="https://itunes.apple.com/jp/app/tokyo-subway-navigation-for/id844802451?mt=8" 
            target="_blank">
            <div class="pic">
              <img src="../../../public/img/footer/icon_footer_appstore.png" 
                width="181" height="60" alt>
            </div>
            <p class="iconBlank">APP Store</p>
          </a>
        </div>
        <div class="google">
          <a href="https://play.google.com/store/apps/details?id=jp.tokyometro.tokyosubwaynavi"
             target="_blank">
            <div class="pic">
              <img src="../../../public/img/footer/icon_footer_googleplay.png" 
                width="203" height="60" alt>
            </div>
            <p class="iconBlank">Google Play</p>
          </a>
        </div>
      </div>
    <!-- / .v2_footer_app --></div>

    <div class="rightCol">
       <div class="footerInquiry">
         <p class="footerTtl">问询</p>
         <div class="wrapper">
           <div class="footerFaq">
             <a href="https://ssl.tokyometro.jp/support/faq_top?lang=cn01">常见问题</a>
           </div>
           <div class="footerLost">
             <a href="/cn/faq_lost/index.html">失物招领</a>
           </div>
         </div>
       </div>
       <div class="footerFollow">
         <p class="footerTtl">关注我们</p>
         <ul>
           <li class="iconBlank">
             <a href="http://weixin.qq.com/r/YzhsdJ7E4sOdrdoX921x" target="_blank">南昌地铁微信信息：Nanchang-Metro</a>
            </li>
         </ul>
         <p class="showPc">
           <img src="../../../public/img/footer/icon_footer_qrcode.png" alt="QRCode" class="footerSnsQrcode">
          </p>
       </div>    
    </div>
  </div>

  <nav class="footerNav">
    <ul>
      <li class="iconBlank"><a href="/lang_cn/terms/index.html" target="_blank">使用规则</a></li>
      <li class="iconBlank"><a href="/lang_cn/privacy/index.html" target="_blank">隐私政策</a></li>
      <li><a href="/cn/sitemap/index.html">网站地图</a></li>
      <li class="iconBlank"><a href="/lang_cn/index.html" target="_blank">南昌地铁网站</a></li>
    </ul>
    <p>Copyright © Nanchang Metro Co., Ltd. All rights reserved.</p>
  </nav>

</footer>
</template>

<script>
  export default {
    name: "mFooter"
  }
</script>

<style scoped>
@import "../../assets/css/common.css";

footer {
  background-color: #0b5d9f;
  padding: 30px 0 40px;
  margin-top: 50px;
}

footer .footerWrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  padding: 0 68px;
  margin: 0 auto;
}

footer .footerApp {
  width: 48.9%;
  background-color: #094f87;
  padding: 20px;
}

footer .logoMetro {
  float: right;
  padding: 0 20px 10px 25px;
}

footer .footerApp p {
  font-size: .9rem;
  line-height: 1.4;
  color: #c1cbd9;
}

footer .footerApp p.iconBlank:hover {
  text-decoration: underline;
}

footer p.footerTtl {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

footer .footerApp .wrapper {
  display: flex;
  padding: 22px 0 0;
}

footer .wrapper {
  color: #fff;
}

footer .footerFaq, footer .footerLost {
  width: 47.7%;
}

footer .footerFaq a, footer .footerLost a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 64px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #00467e;
  background: #fff url("../../../public/img/footer/icon_arrow_blue.png") no-repeat
    14px center;
  background-size: 7px auto;
  border-radius: 3px;
}
footer .footerFaq a:hover, footer .footerLost a:hover {
  background-color: #c7cbd0;
}


footer .app {
  width: 34.8%;
  margin-right: 22px;
}

footer .google {
  width: 39%;
}

footer .wrapper .pic {
  margin-bottom: 17px;
}

footer .wrapper .pic img {
  width: 100%;
  height: auto;
}

footer .rightCol {
  width: 48%;
  /* padding: 16px 0 0; */
  padding: 22px 22px 0;
}

footer .rightCol .footerTtl {
  margin-bottom: 20px;
}

footer .rightCol .wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 33px;
}

footer .footerFaq a::after, footer .footerLost a::after {
  content: '';
  display: block;
  position: absolute;
  top: 18px;
  right: 14px;
  width: 29px;
  height: 29px;
  background: url("../../../public/img/footer/icon_footer_faq.png") no-repeat;
  background-size: 29px auto;
}

footer .footerLost a::after {
  background-image: url("../../../public/img/footer/icon_footer_lost.png");
}

footer .footerFollow a {
  display: inline-block;
  color: #fff;
  background: url("../../../public/img/footer/icon_footer_wechat.png") no-repeat
    left center;
  background-size: 22px auto;
  padding: 15px 0 15px 30px;
  font-size: .9rem;
}

footer .footerFollow a:hover {
  text-decoration: underline;
}

footer .footerNav {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1280px;
  padding: 0 68px;
  margin: 35px auto 0;
}

footer .footerNav::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  content: '';
  width: 100%;
  height: 1px;
  background-color: #1765a4;
}

footer .footerNav ul {
  display: flex;
  font-size: .9rem;
  padding: 30px 0 0;
}

footer .footerNav li {
  margin-right: 33px;
}

footer .footerNav a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

footer .footerNav a:hover {
  text-decoration: underline;
}

.iconBlank::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 10px;
  background: url("../../../public/img/footer/icon_blank.png") no-repeat right center;
  background-size: 12px auto;
  margin-left: 6px;
}

footer .footerNav p {
    font-size: .86rem;
    margin-bottom: 3.5px;
    color: #fff;
}

@media screen and (max-width: 1010px) and (min-width: 700px){
  footer .footerNav ul {
    flex: 1;
    flex-wrap: wrap;
  }

  footer .footerNav li {
    margin-bottom: 10px;
  }

  footer .footerNav li a {
    word-wrap: keep-all;
  }

  footer .footerFaq a::after, footer .footerLost a::after {
    right: 5px;
  }

  footer .footerNav p {
    padding-right: 20px;
  }
}

@media screen and (max-width: 700px) {
  footer {
    width: 100%;
  }

  footer .footerWrapper{
    padding: 0 15px;
    flex-wrap: wrap;
  }

  footer .footerApp {
    width: 100%;
  }

  footer p.footerTtl {
    text-align: center;
    font-size: 1.2rem;
  }

  footer .logoMetro img {
    width: 80%;
    height: auto;
    padding-left: 5px;
  }

  footer .rightCol {
    width: 100%;
  }

  footer .rightCol .footerFaq a,
  footer .rightCol .footerLost a {
    height: 44px;
  }

  footer .rightCol .footerFaq a::after,
  footer .rightCol .footerLost a::after {
    top: 8px;
  }

  .rightCol .showPc {
    display: none;
  }

  footer .footerNav {
    box-sizing: border-box;
    width: 100%;
    flex-wrap: wrap;
  }

  footer .footerNav ul {
    width: 100%;
  }

  footer .footerNav p {
    font-size: .7rem;
    margin-top: 50px;
    margin-left: 186px;
  }
}

</style>